package com.demo.abstractFactory;

/**
 * Created by Administrator on 2017/5/31.
 * Summer风格皮肤：具体工厂
 */
public class SummerSkinFactory implements SkinFactory{
    @Override
    public Button createButton() {
        Button button = new SummerButton();
        return button;
    }

    @Override
    public TextField ceateTextField() {
        TextField textField = new SummerTextField();
        return textField;
    }

    @Override
    public ComboBox createComboBox() {
        ComboBox comboBox = new SummerComboBox();
        return comboBox;
    }
}
